TCPSocket.ReadAll Function

Reads all the data from the internal buffer. Returns the data as a String.

Syntax

result = TCPSocket.ReadAll( [Encoding] )

Parameters

Encoding

TextEncoding (Optional)

Return Value

Result

String

Notes

The optional Encoding parameter enables you to specify the text encoding of the data to be returned. Use the Encodings object to specify a text encoding.